<div class="row cols-wrapper">
    <div id="promo-slider" class="slider flexslider">
        <ul class="slides">
            <?php foreach($slides as $slide) { ?>
            <li>
                <img src="assets/uploads/slides/<?php echo $slide->image; ?>" alt="">
                <p class="flex-caption">
                    <span class="main"><?php echo $slide->title; ?></span>
                    <br>
                    <span class="secondary clearfix"><?php echo $slide->subtitle; ?></span>
                </p>
            </li>
            <?php } ?> 
        </ul><!--//slides-->
    </div>
    <section class="promo box box-dark">        
        <div class="col-md-9">
        <h1 class="section-heading"><?php echo $banner_wide_top_content->title; ?></h1>
            <p><?php echo $banner_wide_top_content->content; ?></p>   
        </div>  
        <div class="col-md-3">
            <a class="btn btn-cta" href="<?php echo base_url() . $banner_wide_top_content->link; ?>"><i class="fa fa-play-circle"></i><?php echo lang('contact_us'); ?></a>  
        </div>
    </section>
    <div class="col-md-3">
        <?php  $this->load->view('news/side_list'); ?>
    </div><!--//col-md-3-->
    <div class="col-md-6">
        <section class="news">
            <h1 class="section-heading text-highlight">
                <span class="line"><?php echo lang('latest_news'); ?></span>
            </h1>     
            <div class="section-content clearfix">
                <div id="news-carousel" class="news-carousel carousel slide">
                    <div class="carousel-inner">
                        <div class="item active"> 
                            <?php foreach ($latestNews as $news) { ?>
                            <div class="col-md-4">
                                    <h2 class="title"><a href="<?php echo base_url() . 'articles/get/' . $news->id; ?>"><?php echo $news->title ?></a></h2>
                                    <p><?php echo word_limiter(strip_tags($news->content), 15) ?></p>
                                    <a class="read-more" href="<?php echo base_url() . 'articles/get/' . $news->id; ?>"><?php echo lang('read_more'); ?><i class="fa fa-chevron-right"></i></a>                
                                </div><!--//news-item-->
                            <?php } ?>
                        </div><!--//item-->
                    </div><!--//carousel-inner-->
                </div><!--//news-carousel-->  
            </div><!--//section-content-->     
        </section>
    </div><!--//col-md-9-->
    <div class="col-md-3">
        <?php  $this->load->view('testimonials'); ?>
    </div><!--//col-md-3-->
</div>